package com.plug.common.redis;

/**
 * Created by slayes on 2016/12/30.
 */
public class RedisInfoBean {

    private String host;

    private String auth;

    private int port;

    private int maxActive;

    private int maxIdle;

    private int wait;

    private int timeout;

    private boolean onBorrow;

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getAuth() {
        return auth;
    }

    public void setAuth(String auth) {
        this.auth = auth;
    }

    public int getMaxActive() {
        return maxActive;
    }

    public void setMaxActive(int maxActive) {
        this.maxActive = maxActive;
    }

    public int getMaxIdle() {
        return maxIdle;
    }

    public void setMaxIdle(int maxIdle) {
        this.maxIdle = maxIdle;
    }

    public int getWait() {
        return wait;
    }

    public void setWait(int wait) {
        this.wait = wait;
    }

    public int getTimeout() {
        return timeout;
    }

    public void setTimeout(int timeout) {
        this.timeout = timeout;
    }

    public boolean isOnBorrow() {
        return onBorrow;
    }

    public void setOnBorrow(boolean onBorrow) {
        this.onBorrow = onBorrow;
    }
}
